package org.javaboy.demo.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
//这个就是组件扫描，默认情况下，扫描的是当前配置类所在包下的所有 Bean
@ComponentScan(basePackages = "org.javaboy.demo")
public class JavaConfig {
}
